IModel.GetDerivedToRelationsOf method

Namespace: NextDesign.Core

Description

If the specified model is an element derived from this model, get all its derived associations. For example, if there is a {element B} derived from this model, you can obtain the derivation association by specifying {element B} in the argument.

This can be used for the following processes. - If the request object and the specification object have a derivation relationship, acquire the relationship to the specification object from the request object side.

This method evaluates IContextOption.PlModelAccessMode.

Returns an empty collection if no such association exists.

argument

Name Type Description
opposite IModel Other model
null cannot be specified.

Return value

  • IRelationshipCollection

Exception

Name Exception Class Description
Invalid argument ExtensionArgumentException If null is specified for opposite